<extend name="layout/base"/>
<block name="title"><title>{$new_category.title}-{$confs.site.title_second}</title></block>
<block name="description"><meta name="description" content="{$new_category.desc}"></block>
<block name="l">
    <div class="lbox">
        <div class="whitebg lanmu"><img src="/static/picture/lm01.jpg">
            <h1>{$new_category.title}</h1>
            <p>{$new_category.desc}</p>
        </div>
        <div class="whitebg bloglist">
            <h2 class="htitle">{$new_category.title}</h2>
            <ul>
                <volist name="news" id="vo">
                    <li>
                        <h3 class="blogtitle">
                            <!--<b>【顶】</b>-->
                            <a href="{:url('/news/article/index',['id'=>$vo.id])}" target="_blank">{$vo.title}</a>
                        </h3>
                        <span class="blogpic imgscale">
                            <i><a href="{:url('/news.category/index',['id'=>$vo.id,'page'=>1])}" target="_blank">{$new_category.title}</a></i>
                            <a href="{:url('/news.article/index',['id'=>$vo.id])}" title="{$vo.title}">
                                <img src="{$vo.cover}" alt="{$vo.title}">
                            </a>
                        </span>
                        <p class="blogtext">
                            {$vo.abstract}
                        </p>
                        <p class="bloginfo">
                            <i class="avatar"><img src="/static/picture/avatar.jpg"></i><span></span>
                            <span>{$vo.create_time}</span>
                            <span>【<a href="/news/category/{$vo.newsCategory.id}.html" target="_blank">{$vo.newsCategory.title}</a>】</span>
                        </p>
                        <a href="{:url('/news/article/index',['id'=>$vo.id])}" class="viewmore">阅读更多</a>
                    </li>
                </volist>
            </ul>
            <!--pagelist-->
            {$news|raw}
            <!--pagelist end-->
        </div>
        <!--bloglist end-->
    </div>
</block>
<block name="r">
    <div class="rbox">
        {$sidebar->render()|raw}
    </div>
</block>